﻿<phone:PhoneApplicationPage
    x:Class="SuperSocialShareTest.SharePage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True">
    <shell:SystemTray.ProgressIndicator>
        <shell:ProgressIndicator Text="正在发送..." IsIndeterminate="True"/>
    </shell:SystemTray.ProgressIndicator>
        <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar>
            <shell:ApplicationBarIconButton Text="发送" IconUri="Assets/check.png" Click="ApplicationBarIconButton_Click"/>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
    <!--LayoutRoot 是包含所有页面内容的根网格-->
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel 包含应用程序的名称和页标题-->
        <StackPanel Grid.Row="0" Margin="12,17,0,28">
            <TextBlock Text="API测试" FontSize="{StaticResource PhoneFontSizeNormal}"/>
            <TextBlock x:Name="ShareTitle" Text="分享" Margin="0,0,0,0" FontSize="{StaticResource PhoneFontSizeLarge}"/>
        </StackPanel>

        <!--ContentPanel - 在此处放置其他内容-->
        <Grid x:Name="ContentPanel" Grid.Row="1">
            <StackPanel>
                <TextBox x:Name="ShareTextBox" MaxLength="140" Height="300" Padding="5" TextWrapping="Wrap" VerticalAlignment="Top"/>
                <Image Source="Assets/00141832.jpg" Width="300" HorizontalAlignment="Left" Margin="12,10,12,0"/>
                <CheckBox x:Name="ShareImageOption" Content="分享图片"/>
            </StackPanel>
        </Grid>
    </Grid>

</phone:PhoneApplicationPage>